Optimal. Leaf size=61 \[ \frac {2 a \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{d \sqrt {e \cos (c+d x)}}-\frac {2 b \sqrt {e \cos (c+d x)}}{d e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {2669, 2642, 2641} \[ \frac {2 a \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{d \sqrt {e \cos (c+d x)}}-\frac {2 b \sqrt {e \cos (c+d x)}}{d e} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2641
Rule 2642
Rule 2669
Rubi steps
\begin {align*} \int \frac {a+b \sin (c+d x)}{\sqrt {e \cos (c+d x)}} \, dx &=-\frac {2 b \sqrt {e \cos (c+d x)}}{d e}+a \int \frac {1}{\sqrt {e \cos (c+d x)}} \, dx\\ &=-\frac {2 b \sqrt {e \cos (c+d x)}}{d e}+\frac {\left (a \sqrt {\cos (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{\sqrt {e \cos (c+d x)}}\\ &=-\frac {2 b \sqrt {e \cos (c+d x)}}{d e}+\frac {2 a \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{d \sqrt {e \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.20, size = 50, normalized size = 0.82 \[ \frac {2 a \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )-2 b \cos (c+d x)}{d \sqrt {e \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.99, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {e \cos \left (d x + c\right )} {\left (b \sin \left (d x + c\right ) + a\right )}}{e \cos \left (d x + c\right )}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {b \sin \left (d x + c\right ) + a}{\sqrt {e \cos \left (d x + c\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.84, size = 106, normalized size = 1.74 \[ -\frac {2 \left (\sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticF \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) a -2 b \left (\sin ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+b \sin \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{\sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {-2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) e +e}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {b \sin \left (d x + c\right ) + a}{\sqrt {e \cos \left (d x + c\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.49, size = 47, normalized size = 0.77 \[ -\frac {2\,\sqrt {\cos \left (c+d\,x\right )}\,\left (b\,\sqrt {\cos \left (c+d\,x\right )}-a\,\mathrm {F}\left (\frac {c}{2}+\frac {d\,x}{2}\middle |2\right )\right )}{d\,\sqrt {e\,\cos \left (c+d\,x\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {a + b \sin {\left (c + d x \right )}}{\sqrt {e \cos {\left (c + d x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________